#ifndef PLUGINWIDGET_H
#define PLUGINWIDGET_H
#include <QObject>
#include <QtCore>
#include <QtGui>
#include "G_IPluginWidget.h"

class  PluginWidget : public QObject, public PluginWidgetInterface
{
    Q_OBJECT
    Q_INTERFACES(PluginWidgetInterface)

public:
    PluginWidget(QWidget *parent = 0);
    ~PluginWidget();

    bool CreateWidget(QWidget *parent, bool if_edit_mode, QWidget **pwidget, IPluginWidget **piwidget,
                      std::vector<void *> ptr_vect);
    void Release();
};

#endif